<div id="change-drop-down-setting">
    <?php //echo $model->dropDown; ?>

    <?php echo $form->dropDownList($model,'value',$model->dropDown,array(
        'class'=>'input-short',
    )); ?>

    <?php echo CHtml::link(Yii::t('main','change'), Yii::app()->createUrl('admin/settings/createDropDownSetting'),array(
        'onClick'=>'Setting.changeDropDownSetting($("#setting-value-field-for-dropdown"),$("#change-drop-down-setting")); return false;',
        'class'=>'submit-green left',
    )); ?>
</div>

<div id="setting-value-field-for-dropdown" class="hidden">
    <?php Yii::app()->controller->renderPartial('admin.views.settings.__settingValueFieldForDropDown',array(
        'model'=>$model,
        'form'=>$form,
    )); ?>
</div>
